package com.sudo.boot.mapper.sys.model.bo;

import com.sudo.boot.base.constant.enums.EnumStatus;
import com.sudo.boot.core.validenum.EnumValues;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class SysRoleBoStatus {

    /**
     * ID
     */
    @NotNull(message = "角色ID不能为空")
    private Integer id;

    @NotBlank(message = "角色状态不能为空")
    @EnumValues(EnumStatus.class)
    private String status;
}
